package com.yikome.shop.api.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import com.yikome.product.entity.ProductComments;
import com.yikome.product.entity.ProductSet;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductApiDTO implements Serializable {

	private static final long serialVersionUID = -5817831396913130129L;
	
	private Long id ;
	
	private String title;
	// 主图
	private String image;
	private String coverImg ; 
	// 描述
	private String description;

	private String tags;
	
	private List<String> tagLists;

	private BigDecimal price;

	private BigDecimal originalPrice;
	
	private Integer status;
	
	private String productDetails;
	
	private String productProps ; 
	
	private String carouselImages;
	
	private List<ProductAttributeApiDTO> productAttributeApiDTOs;
	
	private List<ProductSkuApiDTO> productSkuApiDTOs;
	
	private List<ProductApiDTO> similarProduct ; //仅仅包含 ID,title,image,description,tags,price,originalPrice
	
	private List<ProductApiDTO> likeProduct ;
	
	private List<ProductComments> productComments ;
	
	private List<ProductSet> productSets;

}
